From 79ced30040fc1f7fc5ad5b618eb981dc2ec87962 Mon Sep 17 00:00:00 2001 From: Hans van Kranenburg Date: Sun, 17 Dec 2017 20:55:25 +0100 Subject: [PATCH] Adjust to linux-support-4.9.0-4 This package uses some code from the linux-support package to generate files. The way in which this done in the packaging is similar to how the linux source package is managed. debian/rules.defs defines a KERNELVERSION which requires you to have the linux-support-$KERNELVERSION package installed. For now, update it to 4.9.0-4, since that's the current latest in Stretch. I'm working on the packaging on a stretch system. After doing so... -$ make -f debian/rules debian/control-real [...] File "/usr/src/linux-support-4.9.0-4/lib/python/debian_linux/gencontrol.py", line 124, in do_main_recurse for featureset in self.config['base', ]['featuresets']: KeyError: 'featuresets' Apparently the newer linux-support requires featuresets to be set. We simply add it with only the option none, since we don't use it. --- debian/arch/defines | 2 ++ debian/rules.defs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/arch/defines b/debian/arch/defines index 928d4dfb8d..2c8073fcb5 100644 --- a/debian/arch/defines +++ b/debian/arch/defines @@ -6,3 +6,5 @@ arches: arm64 armhf i386 +featuresets: + none diff --git a/debian/rules.defs b/debian/rules.defs index 54ef1ad8b4..2e59946f72 100644 --- a/debian/rules.defs +++ b/debian/rules.defs @@ -1,4 +1,4 @@ -KERNELVERSION := 4.7.0-1 +KERNELVERSION := 4.9.0-4 BUILD_DIR = debian/build STAMPS_DIR = debian/stamps TEMPLATES_DIR = debian/templates -- 2.30.2